package com.example.demo.mapper;

import com.example.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.jdbc.SQL;


import java.util.List;


@Mapper
public interface UserMapper extends Mapper{
  @SelectProvider(type=com.example.demo.sql.UserSql.class,method = "getAll")

  List<User> getAllData(int id);

}






